Improve static checking of integer overflow and stack smashing.
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 19 Nov 2012 23:39:28 +0000 (15:39 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 19 Nov 2012 23:39:28 +0000 (15:39 -0800)
commit4a1f643e7468847a94ef99d4e4d45b82859cff89
treee1060458cc5edfc5b62d4b80cfcd85067ea51769
parent013f017fc176fbbf366982d50018dd0948da3451
Improve static checking of integer overflow and stack smashing.

* configure.ac (WARN_CFLAGS): Add -Wstack-protector and
-Wstrict-overflow if using GCC 4.7.2 or later on a platform with
at least 64-bit long int.  This improves static checking on these
platforms, when configured with --enable-gcc-warnings.
ChangeLog
configure.ac